package com.mida.app.report.service;

import com.mida.app.report.vo.DocReportListVo;
import com.mida.bms.report.entity.DocReportServiceLock;
import com.mida.dms.mdm.dto.UserDto;
import com.mida.tool.common.result.ActionResult;

import java.util.List;

/**
 * @Description: TODO
 * @Author: wang xiao le
 * @Date: 2021/8/9 14:48
 **/
public interface DocReportServiceLockService {
    /**
     * @return void
     * @Author: WXL
     * @Description: 添加表锁
     * @Date: 2021/8/4
     * @param docReportServiceLock  锁对象
     * @param userDto 用户信息
     */
    void saveLock(DocReportServiceLock docReportServiceLock, UserDto userDto);

    /**
     * 删除锁
     * @description 删除锁
     * @param docReportServiceLock 锁对象
     * @param userDto 用户信息
     * @return null
     */
    ActionResult delete(DocReportServiceLock docReportServiceLock, UserDto userDto);

    List<DocReportServiceLock> selectLockList(List<DocReportListVo> list);
}
